package com.chenju.javastatic.domain.node;

import com.chenju.javastatic.domain.node.BaseNode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Setter
@Getter
@NoArgsConstructor
public class InterfaceNode extends BaseNode {
    private String requestPaths;
    private String requestMethods;
    private Long methodId;

    public InterfaceNode(String name) {
        super(name);
        this.requestPaths = null;
        this.requestMethods = null;
        this.methodId = null;
    }

    public InterfaceNode(String name, String requestPath, String requestMethod) {
        super(name);
        this.requestPaths = requestPath;
        this.requestMethods = requestMethod;
        this.methodId = null;
    }
}
